#!/bin/bash
# Copyright (c) 2022 Unionman Co., Ltd.
#
# ALL RIGHTS RESERVED
#
# Compile media/hal project, this is the entrance script

# error out on errors

set -e

export OUT_DIR=$1
export BOARD_NAME=$2

mkdir -p $OUT_DIR/
make -C modules/osal && make -C modules/osal clean
make -C modules/build default && make -C modules/build clean

